package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jbp.dao.HamsterRecordDao;
import com.jbp.model.HamsterRecord;
import com.jbp.model.Lottery;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class HamsterRecordService extends ServiceImpl<HamsterRecordDao, HamsterRecord> implements IService<HamsterRecord> {

    public List<HamsterRecord> toppeCharts(Map<String, Object> params) {
        return baseMapper.toppeCharts(params);
    }

    public Integer hamsterRecordCount(Map<String, Object> params){
        return baseMapper.hamsterRecordCount(params);
    }

}
